package com.yystudy.examplespringbootprovider;

import com.yystudy.example.common.model.User;
import com.yystudy.example.common.service.UserService;
import com.yystudy.rpcdemospringbootstarter.annotation.RpcService;

/**
 * @author: yp123
 * @since: 2025/8/28
 */
@RpcService(interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(User user) {
        System.out.println("用户名：" + user.getName());
        return user;
    }
}
